package com.topvision.common.enumeration;

/**
 * @author shengwm
 * @version V0.0.1
 * @Title: DimensionEnum
 * @Package com.seed.frame.core.common.enumeration
 * @Description: TODO
 * @date 2017/7/16
 */
public enum DimensionEnum implements BaseEnum {
    DIMENSION_TYPE_0("0", "行政维度"),
    DIMENSION_TYPE_1("1", "角色维度"),
    DIMENSION_TYPE_2("2", "职务维度"),
    DIMENSION_TYPE_3("3", "自定义组维度");


    private final String value;
    private final String label;

    DimensionEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    /**
     * 获取值
     *
     * @return
     */
    @Override
    public String getValue() {
        return value;
    }

    /**
     * 获取标签
     *
     * @return
     */
    @Override
    public String getLabel() {
        return label;
    }
}
